.class Lcom/nemustech/regina/ReginaLauncherSettings$3;
.super Ljava/lang/Object;
.source "ReginaLauncherSettings.java"

# interfaces
.implements Landroid/preference/Preference$OnPreferenceClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/regina/ReginaLauncherSettings;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/ReginaLauncherSettings;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/ReginaLauncherSettings;)V
    .locals 0
    .parameter

    .prologue
    .line 181
    iput-object p1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$3;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceClick(Landroid/preference/Preference;)Z
    .locals 5
    .parameter "preference"

    .prologue
    const/4 v4, 0x1

    .line 184
    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$3;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$500(Lcom/nemustech/regina/ReginaLauncherSettings;)Landroid/content/SharedPreferences;

    move-result-object v1

    const-string v2, "regina.launcher.secret.passnum"

    const/4 v3, 0x0

    invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 185
    .local v0, secretKey:Ljava/lang/String;
    if-nez v0, :cond_1

    .line 186
    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$3;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$100(Lcom/nemustech/regina/ReginaLauncherSettings;)Lcom/nemustech/regina/DialogCareSecret;

    move-result-object v1

    invoke-virtual {v1, v4}, Lcom/nemustech/regina/DialogCareSecret;->popDialog(I)V

    .line 192
    :cond_0
    :goto_0
    return v4

    .line 188
    :cond_1
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v1

    if-lez v1, :cond_0

    .line 189
    iget-object v1, p0, Lcom/nemustech/regina/ReginaLauncherSettings$3;->this$0:Lcom/nemustech/regina/ReginaLauncherSettings;

    invoke-static {v1}, Lcom/nemustech/regina/ReginaLauncherSettings;->access$100(Lcom/nemustech/regina/ReginaLauncherSettings;)Lcom/nemustech/regina/DialogCareSecret;

    move-result-object v1

    const/4 v2, 0x2

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/DialogCareSecret;->popDialog(I)V

    goto :goto_0
.end method
